<div class="go-top0" id="gotopbtn" >
	<i class="icon icon-top"></i>
</div>

<div class="footer" id="footer">
	<div class="container">
		<p class="copy-right"><?php echo ztmao('ztmao_copyright'); ?></p>
	</div>
</div>
<script type="text/javascript" src="//p1.outin.cn/M1/js/swiper.min.js"></script><!--幻灯片js-->
<script type="text/javascript" src="//p1.outin.cn/M1/js/js.js"></script>
<script src="//p1.outin.cn/M1/js/glodil.js" type="text/javascript"></script>
<script src="//p1.outin.cn/M1/js/jquery-ias.min.js" type="text/javascript"></script>
<script src="//p1.outin.cn/M1/js/infinite-scroll.pkgd.min.js"></script>
<!--wp-compress-html--><!--wp-compress-html no compression-->
<script type="text/javascript">
(function ($){
	// 无限下拉
	if($('.get-mod-more a').length){
		$('.feed-infinite-wrapper').infiniteScroll({
		  path: '.get-mod-more a',
		  append: '.article-item',
		  status: '.scroller-status',
		  history:false
		});
	}
	var sidebar_right = $('.wrap-right');
	var sidebar_fixed = $('#sidebar-fixed');

	var width = sidebar_right.width()
	,height = sidebar_right.height()
	,offset_top = sidebar_right.offset().top
	,stimer = null
	;
	sidebar_fixed.css('width',width+'px');
	$(window).on('scroll',function(){
		var st = $(this).scrollTop();
		clearTimeout(stimer);
		stimer = setTimeout(function(){
			if(!sidebar_fixed.hasClass('sidebar_fixed')&&st>(offset_top+height)){
				sidebar_fixed.addClass('sidebar_fixed');
			}else if(sidebar_fixed.hasClass('sidebar_fixed')&&st<(offset_top+height)){
				sidebar_fixed.removeClass('sidebar_fixed');
			}
		},20);
	});
})(jQuery);	
</script>
<!--wp-compress-html no compression--><!--wp-compress-html-->	
<?php echo ztmao('ztmao_statistics_code');?>
<?php wp_footer();?>	
</body>
</html>